package com.woniu.stafforder.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class OrderMonitorCountDto {
    @Field(index = true, analyzer = "ik_smart",searchAnalyzer = "ik_smart", type = FieldType.Integer)
    private Integer sourceId;
    @Field(index = true, analyzer = "ik_smart",searchAnalyzer = "ik_smart", type = FieldType.Keyword)
    private String province;
    private Long count;
}